<template>
  <div class="count">
    <h2>我是count组件</h2>
    <p>count:{{ count }}</p>
    <p>imgUrl:{{ imgUrl }}</p>
    <p>title:{{ title }}</p>
    <p>otherTitle:{{ otherTitle }}</p>
  </div>
</template>

<script>
export default {
  name: "Count",
  data() {
    return {};
  },
  props: {
    count: Number,
    imgUrl: String,
    title: String,
    otherTitle: {
      type: String,
      // required: true,
      default: "暂无....",
    },
  },
  methods: {},
};
</script>

<style scoped>
.count {
  background-color: pink;
}
</style>
